/* 去除常见标签默认的 margin 和 padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 设置网页统一的字体大小、行高、字体系列相关属性 */
body {
    font: 16px/1.5 "Microsoft Yahei",
    "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
    color: #333;
}

/* 去除列表默认样式 */
ul,
ol {
    list-style: none;
}

/* 去除默认的倾斜效果 */
em,
i {
    font-style: normal;
}

/* 去除a标签默认下划线，并设置默认文字颜色 */
a {
    text-decoration: none;
    color: #333;
}

/* 设置img的垂直对齐方式为居中对齐，去除img默认下间隙 */
img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

/* 去除input默认样式 */
input {
    border: none;
    outline: none;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

@font-face {
    font-family: "hei";
    src: url("./font/hei.ttf");
}

.font-hei {
    font-family: "hei";
}

.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
    background-color: transparent !important;
}

.el-popper__arrow {
    display: none !important;
}

.el-popper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.el-table--fit {
    text-align: center;
}
.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{
    background: #315B81 !important;
}
.dark_search{
    input{
        background: transparent !important;
        color: #fff !important;
        &::placeholder{
            color: #fff !important;
        }
    }
    button{
        background: transparent !important;
        color: #fff !important;
    }
}

/* 深色主题样式 */
.dark-modal .ant-modal-content {
    background: rgba(25, 45, 67, 0.5);
    backdrop-filter: blur(20px); /* 背景模糊 */
    -webkit-backdrop-filter: blur(20px); /* 兼容老版本 Safari */
    color: #fff;
}

.dark-modal .ant-modal-header {
    background: rgba(25, 45, 67, 0.5);
    backdrop-filter: blur(20px); /* 背景模糊 */
    -webkit-backdrop-filter: blur(20px); /* 兼容老版本 Safari */
    border-bottom: 1px solid #333;
    color: #fff;
}

.dark-modal .ant-modal-title {
    color: #fff;
}

.dark-modal .ant-modal-footer {
    background: rgba(25, 45, 67, 0.5);
    backdrop-filter: blur(20px); /* 背景模糊 */
    -webkit-backdrop-filter: blur(20px); /* 兼容老版本 Safari */
    border-top: 1px solid #333;
}
